package so.ifl.servcie;

import java.util.List;
import java.util.Map;
import org.springframework.transaction.annotation.Transactional;

import so.ifl.vo.ExamBookingDetailVo;

@Transactional
public interface ExamBookingDetailService {

	/**
	 *  分页查询考试预约明细信息
	 * simon
	 * create at 2012-1-18 上午9:11:18
	 * <mailto:liangyuanliu@gmail.com>
	 * @param params
	 * @param offset
	 * @param limit
	 * @return
	 */
	public List<ExamBookingDetailVo> queryExamBookingDetailWithParamAndPagination(Map<String, Object> params, Integer offset, Integer limit);
	
	/**
	 * 升序 分页查询考试预约明细信息
	 * create by aaron.lu
	 * create at 2013-7-27 下午5:15:57
	 * <mailto: atyuan.lu@gmail.com>
	 * @param params
	 * @param offset
	 * @param limit
	 * @return
	 *
	 */
	public List<ExamBookingDetailVo> queryExamBookingDetailWithParamAndPaginationASC(Map<String, Object> params, Integer offset, Integer limit);
	
	/**
	 * 统计考试预约明细信息
	 * simon
	 * create at 2012-1-18 上午9:11:37
	 * <mailto:liangyuanliu@gmail.com>
	 * @param params
	 * @return
	 */
	public Integer countExamBookingDetailWithParam(Map<String, Object> params);
	
	/**
	 * 添加考试预约明细信息
	 * simon
	 * create at 2012-1-18 上午9:11:50
	 * <mailto:liangyuanliu@gmail.com>
	 * @param examBookingDetailVo
	 */
	public void insertExamBookingDetail(ExamBookingDetailVo examBookingDetailVo);
	
	/**
	 * 更新考试预约明细信息
	 * simon
	 * create at 2012-1-18 上午9:12:00
	 * <mailto:liangyuanliu@gmail.com>
	 * @param params
	 */
	public void updateExamBookingDetail(Map<String, Object> params);
	
	/**
	 * 删除考试预约明细信息
	 * simon
	 * create at 2012-1-18 上午9:12:10
	 * <mailto:liangyuanliu@gmail.com>
	 * @param Id
	 */
	public void deleteExamBookingDetail(Integer Id);

}
